package com.zan.pattern.proxy.static_proxy;

/**
 * @Author Zan
 * @Create 2024/4/25 19:06
 * @Description : 代理售票口
 * @ClassName: ProxyPoint
 */
public class ProxyPoint implements SellTickets {

    // 声明火车站类对象
    private TrainStation trainStation = new TrainStation();

    @Override
    public void sell() {
        System.out.println("代售点收取一些服务费用");
        trainStation.sell();
    }
}
